]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionDownloader: Check schemadir existence and type
authorAndy Holmes <andyholmes@gnome.org>
Mon, 27 Mar 2023 19:41:50 +0000 (12:41 -0700)
committerMarge Bot <marge-bot@gnome.org>
Mon, 27 Mar 2023 21:12:59 +0000 (21:12 +0000)
commit3cc3a79b7a2b73c2a88833e765993078b2ed5201
treea0e801090f3de3364444cde58ea6f9422b876283
parent95c0a88fe7ef04c29e1022b3743497ef429db1b1
extensionDownloader: Check schemadir existence and type

When checking for an extension schemadir, an error will be thrown if
`query_info()` is used and the directory is missing.

Catch the case of a missing directory, but throw an error if the
path exists as a non-directory type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2727>
js/ui/extensionDownloader.js